home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / SoundApps / aa_m68k_Intel_Only / InstrumentBuilder.99 / Examples / globalControlExample.sc < prev    next >
Encoding:
Text File  |  1995-06-12  |  467 b   |  27 lines

  1. #include <carl/cmusic.h>
  2.  
  3. ins 0 cres ;
  4.     shape b10 f2 d ;
  5. end ;
  6.  
  7. ins 0 toot ;
  8.     seg b1 b10 f3 d p6 0 p7 ;
  9.     osc b1 b1 p5 f1 d ;
  10.     out b1 ;
  11. end ;
  12.  
  13. GEN4(f2) 0,-30dB -2 1,-20dB ;
  14. GEN4(f3) 0,0 -3 1/3,1 0 2/3,.1 -2 1,0 ;
  15. SAWTOOTH(f1) ;
  16.  
  17. note 0 cres 5 ; {crescendo over 5 seconds}
  18.  
  19. note 0 toot 1 A(0) .1sec .1sec ;
  20. note 0 toot 1 Cs(1) .1sec .1sec ;
  21.  
  22. note 2 toot 1.5 B(0) .1sec .1sec ;
  23. note 2.3 toot 2 Ds(1) .1sec .1sec ;
  24.  
  25. note 3.6 toot 1.4 E(1) .1sec .1sec ;
  26.  
  27. sec ;